home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part III.srd / Part III.srd.rsrc / PICT_42.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  88KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | chat room | poster | reckoner | sky
OCR: 11I-30 Mops Predefined Classes 1/0 methods readN: file n- Reads bytes using the passed-in file object The file must already be open The bytes read completely replace the WHOLE string (that is Pos and Lim are ignored). reset: done at the end readL Line?: (file n -- b ) Reads the next line an to max of n chars into this string as for readN Returns false if end of file Reads final Return character (if any from the file but doesn't include it in the bytes transferred to the string readRest: (file -- ) Reads all the rest Qf the file from its current position into the string readAll: ( file -- ) Reads all the file into the string. readTop: Reads all of Topfile into the string, then closes and drops Topfile (see class FileList). Topfile must already be open $write: (file - Writes the active part ...